package com.castle.fortress.admin.oa.mapper;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.oa.entity.AttendanceRecordEntity;
import java.util.Map;
import java.util.List;
/**
 * 上下班考勤记录Mapper 接口
 *
 * @author whc
 * @since 2022-11-04
 */
public interface AttendanceRecordMapper extends BaseMapper<AttendanceRecordEntity> {

	/**
	 * 扩展信息列表
	 * @param pageMap
	 * @param attendanceRecordEntity
	 * @return
	 */
	List<AttendanceRecordEntity> extendsList(@Param("map")Map<String, Long> pageMap, @Param("attendanceRecordEntity") AttendanceRecordEntity attendanceRecordEntity);

	/**
	 * 扩展信息记录总数
	 * @param attendanceRecordEntity
	 * @return
	 */
	Long extendsCount(@Param("attendanceRecordEntity") AttendanceRecordEntity attendanceRecordEntity);

	/**
	 * 上下班考勤记录扩展详情
	 * @param id 上下班考勤记录id
	 * @return
	 */
      AttendanceRecordEntity getByIdExtends(@Param("id")Long id);



}

